<?php

function doHeader($title){ 

addMeta("Content-Type","text/html; charset=utf-8");

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html> 
<head> 
<title><%= $title %></title>
<?php 
}


function doBody($template){
//
flushMeta();
flushCss();
?>
<script type="text/javascript" >
var baseuri = "<%= BASEURI %>";
</script>
</head>  
<body>
<?php 

//
require_once($template);

}

function doFooter(){
flushCss();
flushScripts();
?></body> 
</html> <?php }


?>